/* eslint-disable */
// @ts-ignore
import request from "@/request";

/** userExitTeam POST /api/userTeam/exit */
export async function userExitTeamUsingPost(
  body: API.UserExitTeamRequest,
  options?: { [key: string]: any }
) {
  return request<API.BaseResponseBoolean_>("/api/userTeam/exit", {
    method: "POST",
    headers: {
      "Content-Type": "application/json",
    },
    data: body,
    ...(options || {}),
  });
}

/** userJoinTeam POST /api/userTeam/join */
export async function userJoinTeamUsingPost(
  body: API.UserJoinTeamRequest,
  options?: { [key: string]: any }
) {
  return request<API.BaseResponseLong_>("/api/userTeam/join", {
    method: "POST",
    headers: {
      "Content-Type": "application/json",
    },
    data: body,
    ...(options || {}),
  });
}
